give meaningful error message if qemu device model is unavailable
authorMichael Tokarev <mjt@tls.msk.ru>
Sun, 24 Apr 2022 09:26:38 +0000 (12:26 +0300)
committerHans van Kranenburg <hans@knorrie.org>
Mon, 9 May 2022 20:30:57 +0000 (22:30 +0200)
commit6acc5a96f9848624667fd38369e5267d7032ba92
treeb7081f985b3337ba885efc876a8522b75291b20c
parent8702038b30db274972a8273446cbbfd867b8521f
give meaningful error message if qemu device model is unavailable

There's no sense to switch to qemu-xen-traditional device model
if that one is not enabled in the first place. This way we'll
have a chance later to print a message suggesting to install the
missing qemu package if we *actually* need qemu for the device model.
tools/libs/light/libxl_create.c
tools/libs/light/libxl_dm.c